package com.zjitc.order;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/18 13:44
 * @description:
 */
public class OrderInfo {

  private String type;      // cart, order, register
  private String productId;
  private Integer buyCount;

  public OrderInfo() {
  }

  public OrderInfo(String productId, Integer buyCount) {
    this.productId = productId;
    this.buyCount = buyCount;
  }

  public String getProductId() {
    return productId;
  }

  public Integer getBuyCount() {
    return buyCount;
  }

  public void setProductId(String productId) {
    this.productId = productId;
  }

  public void setBuyCount(Integer buyCount) {
    this.buyCount = buyCount;
  }

  @Override
  public String toString() {
    return "OrderInfo{" +
        "productId='" + productId + '\'' +
        ", buyCount=" + buyCount +
        '}';
  }
}
